<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/28 0028
 * Time: 17:54
 */

namespace Baiyang\Controllers;


use Baiyang\Http\RESTControllerBase;

class ApiController extends RESTControllerBase
{
    public function indexAction()
    {
        return response()->setJsonContent(['error'=>0,'data'=> $this->redis->get('G852017092911203781299')]);
    }
}